/*container size*/

@media (min-width:768px){
  .container {
      max-width: 100%;
      padding-right: 0px;
      padding-left: 0px;
  }
}

/*header_title*/
#header_title_div{
  text-align: center;
}
#header_titlelogo{
  height: 9rem;
  padding-bottom: 2rem;
}
#header_title_textbox{
  border-left:2px solid white;
  margin-left: 0.5rem;
  color:white;
  font-size: 3.5rem;
}
#header_titlecontents{
  width: 100%;
  float: left;
  padding-bottom: 0.5rem;
  padding-top: 2.5rem;

}
#header_title_textbox > a,
#header_title_textbox > a:hover
{
  color:#fff;
  text-decoration: none;
}
/*header_navbar*/
#header_navbar{
  background-color: rgba(255,255,255,0.5);
  color: #94070A;
  border:0px;
}
@media (min-width:768px){
  #header_navbar{
    position: absolute;
    z-index: 1001;
    width: 100%;
  }
}
.navbar-default .navbar-nav > li > a{

  font-size: 1.5rem;
  font-weight: bold;
  color: #94070A;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:focus, 
.navbar-default .navbar-nav > .open > a:hover
{
  color: #fff;
  background-color: rgb(126,0,1);
}
.dropdown-menu{
  min-width:100%;
  border: 0;
}

li.dropdown > ul.dropdown-menu{
  background-color:rgba(147,59,55,.8);
  font-size: 1.4rem;
}
.dropdown-menu > li{
  text-align: center;
}

.dropdown-menu > li > a{
  color: white;
  padding:5px 20px;
}

.dropdown-menu > li > a:focus, 
.dropdown-menu > li > a:hover{

  color: #fff;
  background-color: rgba(158,38,35,.8);
}


/*index page carousel */

#myNiceCarousel > ol{
  display: none;
} 
.carousel-caption > h3{
  margin:0;
  padding:0;
}
@media (min-width:768px){
  .carousel-caption {
      background-color:rgba(0,0,0,.3);
      right: 0%;
      left: 0%;
      padding-bottom: 0px;
      width: 100%;
      bottom: 0px;
      padding:1rem 0px;
  }
}
@media (min-width:768px){
  .carousel-inner > .item > a > img, 
  .carousel-inner > .item > a > p > img, 
  .carousel-inner > .item > p > img，
  .carousel-inner > .item > img,
  .carousel_img{
    /*width: 100%;*/
    max-height: 60vh;
    height: 60vh;
  }
  .carousel-inner > .item {
    text-align: center;
    background-color:#eee;
  }
}

/*newslist*/
#index_newslist{
  padding-bottom: 3rem;
}
.index_newslist_titlebox{
  width:100%;
  float: left;
}
.index_newslist_titlebox > h3{
  float: left;
  color:#94070A;
  border-left: 3px solid #94070A
}

.index_newslist_more{
  float: right;
  margin-top: 20px;
  margin-right: 5px;
  color:#94070A;
}
.index_newslist_more:hover{
  color:rgb(160,53,50);
}
.index_newslist_contentsbox{
  float: left;
  border:2px solid #eee;
  width: 100%;
  padding:5px;
}
.index_newslist_newstitle{
  width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  float: left;
  color:#94070A;
}
.index_newslist_newstitle > a{
  color:#94070A;
}
.index_newslist_newstitle > a:hover{
  color:rgb(160,53,50);
}
.index_newslist_newsdate{
  width: 30%;
  float: left;
  text-align: right;
}
.index_newslist_news{
  width: 100%;
  float: left;
  margin: 2px 0px 2px 0px;
}
/*footer bar*/
#footer_bar{
  background-color: #94070A ;
  padding:2rem 0rem;
  color:white;
  float: left;
}
.footer_alink,
.footer_alink:hover{
  color: white;
  font-size: 1.4rem
}
@media (min-width:768px){
#footer_leftbox{
  text-align: right;
  padding:1.8rem;
}
#footer_rightbox{
  text-align: left;
  padding:.8rem;
}
}
@media (max-width:767px){
  #footer_center{
    width:30%;
  }
  #footer_leftbox{
  text-align: left;
}
#footer_rightbox{
  text-align: left;
}
}

/*main contents box*/
@media (min-width:768px){
  .maincontents_container{
    margin-top: 10px;

  }
  .nav_background{
    height:40px;
    background-color: #d6d6d6;
  }

  .left_menubar{
    margin-right: 0;
    padding-right:0;
  }
  .list-group{
    float: right;
  }

  .maincontents_container > .col-md-2 > h4{
    text-align: right;
  }
  .list-group-item{
    border:0;
    background-color: #fafafa;
    border-radius:0px;
    border-top-left-radius:0px;

  }
  .list-group-item:first-child{
    border-radius:0px;
  }
  .sidebar_active{
    border:2px solid #f0f0f0;
    border-right: 0px;
    box-shadow:-2px 3px 4px #d6ccd3;
    z-index:10;
  }

  .maincontents_box{
    border:2px solid #f0f0f0;
    box-shadow:-2px 2px 4px #d6ccd3;
    margin-bottom: 3rem;
  }

}
.article-condensed{
  margin-top: 0px;
  padding-top:0px;
}

/*book list page*/
.booklist_text{
  color:#353535;
}

.booklist_title > a{
  color:#94070A;
}
.booklist_title > a:hover{
  color:rgb(126,0,1);
}
.item-content > .text{

  overflow:hidden; 

line-height:1.4; 
    /* line-height for 1line*/    
    max-height:5.3rem; 
    /* line-height * 3*/  
text-overflow:ellipsis;

display:-webkit-box; 

-webkit-box-orient:vertical;

-webkit-line-clamp:3; 


}